<?php /*a:3:{s:63:"/www/wwwroot/douyin/application/admin/view/apply_team/edit.html";i:1714096429;s:60:"/www/wwwroot/douyin/application/admin/view/index_layout.html";i:1710484120;s:53:"/www/wwwroot/douyin/application/admin/view/layui.html";i:1712799662;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title><?php echo config('site.web_name'); ?></title>
    <meta name="author" content="YZNCMS">
    <link rel="stylesheet" href="/static/libs/layui/css/layui.css">
    <link rel="stylesheet" href="/static/admin/css/admin.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
    <link rel="stylesheet" href="/static/common/font/iconfont.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
    <script src="/static/libs/layui/layui.js"></script>
    <script src="/static/libs/jquery/jquery.min.js"></script>
    <script type="text/javascript">
    //全局变量
    var GV = {
        'site':<?php echo json_encode($site); ?>,
        'image_upload_url': '<?php echo !empty($image_upload_url) ? htmlentities($image_upload_url) :  url("admin/ajax/upload", ["dir" => "images"]); ?>',
        'file_upload_url': '<?php echo !empty($file_upload_url) ? htmlentities($file_upload_url) :  url("admin/ajax/upload", ["dir" => "files"]); ?>',
        'attachment_select_url': '<?php echo !empty($attachment_select_url) ? htmlentities($attachment_select_url) :  url("general.attachments/select"); ?>',
    };
    </script>
</head>

<body class="childrenBody <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
    
<form class="layui-form" method="post">

    <div class="layui-form-item">
        <label class="layui-form-label">用户名称</label>
        <div class="layui-input-block">
            <input id="c-uid" lay-verify="required" readonly="" class=" layui-input"  type="text"
                   value="<?php echo htmlentities($data['staff']['username']); ?>">
        </div>
    </div>


    <div class="layui-form-item">
        <label class="layui-form-label">加入理由</label>
        <div class="layui-input-block">
            <input id="c-add_reason" class=" layui-input" name="row[add_reason]" type="text" value="<?php echo htmlentities($data['add_reason']); ?>">
        </div>
    </div>


    <div class="layui-form-item" onclick="showReason()">
        <label class="layui-form-label">加入理由</label>
        <input type="radio" name="row[status]" checked value="1" title="通过">
        <input type="radio" name="row[status]" value="2" title="不通过">
    </div>

    <div class="layui-form-item" style="display: none" id="reasonShow">
        <label class="layui-form-label">不通过的原因</label>
        <div class="layui-input-block">
            <input id="c-no_reason" class=" layui-input" name="row[no_reason]" type="text" value="">
        </div>
    </div>
    


    <div class="layui-form-item layer-footer">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit="">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>

    
    <script type="text/javascript">
layui.config({
	version: '<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>',
	base: '/static/libs/layui_exts/'
}).extend({
	yzn: 'yzn/yzn',
	yznForm: 'yznForm/yznForm',
	tab: "pear/tab",               // 多选项卡组件
	yznUpload: 'yznUpload/yznUpload',
	yznTable: 'yznTable/yznTable',
	clipboard: 'clipboard/clipboard.min',
	notice: 'notice/notice.min',
	iconPicker: 'iconPicker/iconPicker.min',
	ztree: 'ztree/ztree',
	dragsort: 'dragsort/dragsort.min',
	tagsinput: 'tagsinput/tagsinput',
	xmSelect: 'xmSelect/xm-select',
	selectPage: 'selectPage/selectpage.min',
	echarts: 'echarts/echarts',
	echartsTheme: 'echarts/echartsTheme',
	citypicker: 'citypicker/city-picker',
	dropzone: 'dropzone/dropzone.min',
	ueditor: 'ueditor/ueditor.min',
	cxselect: 'cxselect/cxselect',
	addons: 'addons',
    aliossUploader:'aliossUploader'
});
</script>
    
    
<script type="text/javascript">
    layui.use('yznForm', function () {
        var yznForm = layui.yznForm;
        yznForm.bindevent($("form.layui-form"));
    });

    function showReason() {
        var status = $("input[name='row[status]']:checked").val()
        if (status == 1) {
            $('#reasonShow').hide()
            $('#reason').val('')
        } else {
            $('#reasonShow').show()
        }

    }

</script>

</body>

</html>